import request from "../utils/request.js";
class API {
	static list = (type) => request('/image/list', 'GET', {
		type
	})
	static login = (username,password) => {
		 return request('/login','POST', {
			username,
			password
		},false)
	}
	static wode = (id) => {
	    return request('/user/info', 'GET', {id},true);
	}
}

export default API